package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the EX_RECEPCION_AREQUIPA database table.
 * 
 */
//@Entity
//@Table(name="EX_RECEPCION_AREQUIPA")
public class ExRecepcionArequipa implements Serializable {
	private static final long serialVersionUID = 1L;
	private String errorCodigo;
	private String estado;
	private String oficRegId;
	private String regPubId;
	private String sistemaId;
	private Date tmstmpSendA1;
	private Date tmstmpSendA2;
	private Date tmstmpTx;
	private BigDecimal txRefnum;

    public ExRecepcionArequipa() {
    }


	@Column(name="ERROR_CODIGO", length=6)
	public String getErrorCodigo() {
		return this.errorCodigo;
	}

	public void setErrorCodigo(String errorCodigo) {
		this.errorCodigo = errorCodigo;
	}


	@Column(nullable=false, length=2)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


	@Column(name="SISTEMA_ID", nullable=false, length=3)
	public String getSistemaId() {
		return this.sistemaId;
	}

	public void setSistemaId(String sistemaId) {
		this.sistemaId = sistemaId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_SEND_A1", nullable=false)
	public Date getTmstmpSendA1() {
		return this.tmstmpSendA1;
	}

	public void setTmstmpSendA1(Date tmstmpSendA1) {
		this.tmstmpSendA1 = tmstmpSendA1;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_SEND_A2")
	public Date getTmstmpSendA2() {
		return this.tmstmpSendA2;
	}

	public void setTmstmpSendA2(Date tmstmpSendA2) {
		this.tmstmpSendA2 = tmstmpSendA2;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_TX", nullable=false)
	public Date getTmstmpTx() {
		return this.tmstmpTx;
	}

	public void setTmstmpTx(Date tmstmpTx) {
		this.tmstmpTx = tmstmpTx;
	}


	@Column(name="TX_REFNUM", nullable=false)
	public BigDecimal getTxRefnum() {
		return this.txRefnum;
	}

	public void setTxRefnum(BigDecimal txRefnum) {
		this.txRefnum = txRefnum;
	}

}